/*
 * it.c
 *
 *  Created on: May 11, 2023
 *      Author: zhulijun
 */

#include "my_inc.h"


void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
{
	if(GPIO_Pin == KEY1_Pin)
	{
		led.led_on(led_b);
	}

	if(GPIO_Pin == KEY2_Pin)
	{
		led.led_on(led_g);
		//led.led_on(led_r);
	}

	if(GPIO_Pin == KEY3_Pin)
	{
		led.led_flow();
	}
}

